Configure Route Redistribution to BGP
Before you begin
If required, configure a route policy.
When you configure BGP on a specific VRF instance, the VRF must have an RP trigger of BGP.
-
To perform this procedure on a non-default VRF, you must first change the VRF instance. For information about how to use EDM for a non-default VRF, see Select and Launch a VRF Context View. All parameters might not be available in non-default VRFs.
Before you redistribute DvR host routes to BGP, ensure that you disable BGP aggregation and BGP auto-summarization of networks. Disabling these options ensures that all DvR host routes are advertised into BGP correctly, and are not summarized.
About this task
Configure redistribute entries for BGP to announce routes of a certain source type to BGP, for example, DvR, direct, static, Routing Information Protocol (RIP), and Open Shortest Path First (OSPF). If you do not configure a route policy, then the switch uses the default action based on metric, metric type, and subnet. Use a route policy to perform detailed redistribution.
Procedure
- In the navigation pane, expand .
- Select BGP.
- Select the Redistribute tab.
- Select Insert.
- Configure the source protocol.
- Optional: If required, choose a route policy.
- Configure the metric to apply to redistributed routes.
- Optional: Select AutoFilterTag to enable route filtering using tags.
- Enable the redistribution instance.
- Select Insert.
Redistribute Field Descriptions
Use the data in the following table to use the Redistribute tab.
Name |
Description |
---|---|
DstVrfId |
Specifies the destination VRF instance (read-only). |
Protocol |
Specifies the protocols that receive the redistributed routes. |
SrcVrfId |
Specifies the source VRF instance (read-only). |
RouteSource |
Specifies the source protocol for the route redistribution entry. |
Enable |
Enables (or disables) a BGP redistribute entry for a specified source type. |
RoutePolicy |
Configures the route policy to use for the detailed redistribution of external routes from a specified source into the BGP domain. |
Metric |
Configures the metric for the redistributed route. The default value is 0. Use a value that is consistent with the destination protocol. |
MetricType |
Configures the metric type to apply to redistributed routes. When you enable the live-metric option, when BGP redistributes static, RIP, OSPF, IS-IS, or DvR routes, the metric value is taken from the routing table and is set to the Path attributes as a MED value. By default, this option is disabled, which means the BGP MED value is not derived from the metric in the routing table. |
AutoFilterTag |
Enables route filtering to ensure tagged routes are not redistributed into BGP. The default is disabled. |